import 'package:flutter/material.dart';

class MessageText extends StatefulWidget {
  final String text;
  const MessageText({super.key,required this.text});

  @override
  State<StatefulWidget> createState() {
    return _MessageTextState();
  }
}

class _MessageTextState extends State<MessageText> {
  @override
  Widget build(BuildContext context) {
    return Text(
      widget.text,
      softWrap: true,
      overflow: TextOverflow.clip,
    );
  }
}
